package org.chipu.jnids.display;

import org.chipu.jnids.alert.AlertEvent;
import org.chipu.jnids.response.ResponseSystem;

public interface Console extends ResponseSystem {
	void startProgress(String taskname, String string);

	void doProgress(String taskname);

	void endProgress(String taskname);

	void endProgress(String taskname, String string);

	// -----

	void addMessage(Message msg);

	void addMessage(AlertEvent ev, Message.Type type);

	/** Message.Type == ANORMAL_ACTIVITY */
	@Override
	void eventReceived(AlertEvent ev, byte anormalityLevel);
}